package com.isoft.uaaservice.service;


import com.isoft.uaaservice.bean.ResponseData;
import com.isoft.uaaservice.bean.SysUser;

public interface ISysLoginService {
    ResponseData login(SysUser sysUser);
    ResponseData logout();

    public boolean register(SysUser sysUser);
    public boolean registerRestTemplate(SysUser sysUser);
    public SysUser getNewOne(SysUser sysUser);

    public boolean changePassword(SysUser sysUser);

    public boolean updatePasswordById(SysUser sysUser);
    public boolean changeUserPhoto(Integer id,String saveFileUrl);

    public boolean freezeAndEnable(SysUser sysUser);

}
